package Dao;

import entity.Orders;
import entity.Ticket;
import entity.User;
import untils.Msg;

import java.util.ArrayList;

public interface UserDao {
    Msg<ArrayList<Orders>> findPaymentOrder(int userId);

    Msg<ArrayList<Orders>> findNotPayment(int userId);

    void deleteOrder(int orderId);

    void deleteTickets(int ticketId);

    ArrayList<User> findUserData(int userId);

    void addUserData(int userId,String uName,String otherphone,String idCard);

    ArrayList<Ticket> findMyTickets(String idCard);

    ArrayList<User> findPageUserList(int firstCount, int pageSize);

    int findStudentTolalCount();
}
